package com.jwater.core.manager.common.model;

import java.io.Serializable;

/**
 * @description: java进程信息
 * @author: jnner
 * @createDate: 2021/2/5
 * @version: 1.0
 */
public class JvmInfo implements Serializable {
    private static final long serialVersionUID = 7524180602801312160L;
    private String host;
    private String pid;
    private String params;

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPid() {
        return pid == null ? 0 : Integer.parseInt(pid);
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }
}
